package com.jshcbd.mvp_kt_demo.ui.main

import android.os.Bundle
import androidx.constraintlayout.utils.widget.ImageFilterView
import com.jshcbd.mvp_kt_demo.base.activity.BaseActivity
import com.jshcbd.mvp_kt_demo.databinding.ActivityMainBinding
import com.jshcbd.mvp_kt_demo.ui.main.bean.Data
import com.jshcbd.mvp_kt_demo.ui.main.bean.FootEntity
import com.jshcbd.mvp_kt_demo.utils.LogUtil

class MainActivity : BaseActivity<ActivityMainBinding, MainPresenter>(), MainContract.MainViewNew {
    override fun createPresenter(): MainPresenter {
        return MainPresenter(this)
    }

    override fun initData(savedInstanceState: Bundle?) {
        mPresenter?.getList()
    }

    override fun showResult(msg: String?) {

    }

    override fun setDataShowCriticToRecycleView(data: List<Data>) {
        LogUtil.d("${data.size}")
    }

    override fun showLoading() {

    }

    override fun hideLoading() {

    }

}